#参考
#https://blog.csdn.net/ihtml5/article/details/92159496
#https://blog.csdn.net/hustpzb/article/details/8649545
#https://www.jianshu.com/p/f290829e42f8

cmake_minimum_required(VERSION 3.0)
project(mycp)
aux_source_directory(. DIR)

#set(CMAKE_C_STANDARD_REQUIRED off)
set(CMAKE_C_STANDARD 11)
set(CMAKE_BUILD_TYPE Debug)

include_directories(../apue/include)
link_directories(../apue/lib)
link_libraries(apue)

add_executable(${PROJECT_NAME} ${DIR})
